package com.xiaobaibai.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WeixinCommon {

    public static final String WxAccessToken="WxAccessToken";

    //民安优选
    public static String APPID;

    public static String SECRET;

    @Value("${APPID}")
    public void setAPPID(String APPID) {
        WeixinCommon.APPID = APPID;
    }

    @Value("${SECRET}")
    public void setSECRET(String SECRET) {
        WeixinCommon.SECRET = SECRET;
    }

    //广油菜菜
//    public static final String APPID="wxa4adc03a8c494a5e";
//
//    public static final String SECRET="4721568e94ff211e3a4d6b677b4ae880";

    //广油fight
//    public static final String APPID="wxa4f2ab589e12dc95";
//
//    public static final String SECRET="8e75a462b4cc955d7e391159226e24b6";

}
